<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./template/4/access/css/mzb.css">
    <title><?php echo $web["ming"]; ?>API</title>
        <link rel="icon" href="http://q2.qlogo.cn/headimg_dl?dst_uin=<?php echo $web["qq"]; ?>&spec=5" type="image/ico">
        <meta name="keywords" content="<?php echo $web["keywords"]; ?>">
        <meta name="description" content="<?php echo $web["description"]; ?>">
</head>

<body>
    <div class="container-body">
        <div class="content-left">
            <div class="avatar">
                <img src="https://q1.qlogo.cn/g?b=qq&nk=<?php echo $web["qq"]; ?>&s=640" class="logo">
            </div>
            <H2 class="name"><?php echo $web["ming"]; ?>API</H2>
            <p class="qq">ღ 稳定、快速、免费的 API 接口服务 ღ</p>
            <ul class="menu">
                <li class="active">
                </li>
            </ul>
    <div class="main">
        <div class="container">
         

<?php
include('./template/4/Template.php');
?>
                   </div>
    </div>
    <div class="index-link">
        <div class="link-title">
            <h3>友情链接</h3>
        </div>
        <ul>
<?php
$目录 = file_get_contents("./template/youqing.php");
$友情 = preg_match_all("/『名字：(.*?)』『链接：(.*?)』『介绍：(.*?)』『QQ：(.*?)』『状态：已添加』/",$目录,$v);
?>

<?php
if($友情== 0){
echo "";
}else{
for( $i = 0 ; $i < $友情 && $i < $友情 ; $i ++ ){
$名字=$v[1][$i];
$链接=$v[2][$i];
echo '<li><a href="'.$链接.'" target="_blank">'.$名字.'</a></li>';
}}?>
<li><a onclick="return alert('友链申请说明\n网站名:<?php echo $web["ming"]; ?>API\n网址:<?php echo $tianyi719; ?>\n介绍:一个咸鱼的网站\nQQ:<?php echo $web["qq"]; ?>\n这是例子，请把你申请友链内容发送到<?php echo $web["youxiang"]; ?>\n一定把我网站写到你的友链表上，否则不给你添加');" target='_blank'>申请友链</a></li>

            </ul>
    </div>
    <footer>
        <span class="footer-left"><a rel="nofollow" href="#" tppabs="#" target="_blank" ><?php echo $web["ming"]; ?>API</a></a></span>
        <span class="footer-right">
        <a rel="nofollow" href="#" tppabs="#" target="_blank" ><?php echo $web["ming"]; ?>API</a>    </span>
    </footer>
</body>

</html>